let {
  request_3031,
  request_3001
} = require('../../utils/https.js')


module.exports = {
  // 跟进延期
  timeOuts: (data) => {
    console.log(data)
    return request_3001({
      url: `/circulation/timeOuts`,
      method: "POST",
      data
    })
  },
   // 跟进theone
   theonefollow: (data) => {
    console.log(data)
    return request_3001({
      url: `/circulation/theonefollow`,
      method: "POST",
      data
    })
  },
   // 跟进file
   hgjfilesfollow: (data) => {
    console.log(data)
    return request_3001({
      url: `/circulation/hgjfilesfollow`,
      method: "POST",
      data
    })
  },

  // 服务类别
  
  getFWLB: () => {
    return request_3001({
      url: `/circulation/FWLB`,
      method: "GET",
      
    })
    },
//进展反馈添加
addProgress: (data) => {
  console.log(data)
  return request_3001({
    url: `/circulation/addProgress`,
    method: "POST",
    data
  })
},
//进展反馈查询
getProgress: (xmbh) => {
return request_3001({
  url: `/circulation/getProgress?xmbh=${xmbh}`,
  method: "GET",
  
})
},
//跟进记录添加
  getProjectFollow: (data) => {
    return request_3001({
      url: `/circulation/projectfollow`,
      method: "POST",
      data
    })
  },
//跟进记录查询
getFollow: (xmbh,xmID) => {
  return request_3001({
    url: `/circulation/getfollow?xmbh=${xmbh}&xmID='${xmID}'`,
    method: "GET",
    
  })
},
//跟进记录查询
getProjectMember: (xmbh) => {
  return request_3001({
    url: `/circulation/getProjectMember?xmbh=${xmbh}`,
    method: "GET",
    
  })
},

  addMember: (data) => {

    return request_3001({
      url: `/circulation/addProjectPerson`,
      method: "POST",
      data
    })
  },
  getMemberList: (text) => {
    return request_3001({
      url: `/circulation/searchInPerson?text=${text}`,
      method: "GET",
    })
  },
  insertNewProject: (data) => {

    return request_3001({
      url: `/circulation/insertNewProject/institution`,
      method: "POST",
      data
    })
  },
  insertContacts: (data) => {

    return request_3001({
      url: `/circulation/insertNewProject/contacts`,
      method: "POST",
      data
    })
  },
  searchConnection: (xmbh) => {

    return request_3001({
      url: `/circulation/searchConnection?xmbh=${xmbh}`,
      method: "GET",

    })
  },
}